<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单作业答案</title>
<!--    http://localhost:63342/jsd240308-3-teacher/web/day01/%E4%BB%8A%E6%97%A5%E4%BD%9C%E4%B8%9A/homework2.html?uname=kk&upwd=123&gender=0&like=tt&birthday=2024-05-15&pic=springmvc-homework1.pdf&city=bj&y=1#-->
</head>
<body>
<h1>欢迎注册</h1>
<!-- table>tr*10>td>input -->
<table border="1px">
    <form action="#">
        <tr>
            <td>用户名:</td>
            <td><input type="text" name="uname" value="kk" maxlength="5" readonly></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><input type="password" name="upwd" placeholder="请输入"></td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>
                <input type="radio" name="gender" value="1" checked>男
                <input type="radio" name="gender" value="0">女
            </td>
        </tr>
        <tr>
            <td>爱好:</td>
            <td>
                <input type="checkbox" name="like" value="cy">抽烟
                <input type="checkbox" name="like" value="hj" checked>喝酒
                <input type="checkbox" name="like" value="tt">烫头
            </td>
        </tr>
        <tr>
            <td>地址:</td>
            <td><input type="text"></td>
        </tr>
        <tr>
            <td>生日:</td>
            <td><input type="date" name="birthday"></td>
        </tr>
        <tr>
            <td>靓照:</td>
            <td><input type="file" name="pic"></td>
        </tr>
        <tr>
            <td>所在地:</td>
            <td>
                <select name="city">
                    <option value="bj">北京</option>
                    <option value="sh">上海</option>
                    <option value="sz" selected>深圳</option>
                </select>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2">
                <input type="checkbox" id="y" name="y" value="1">
                <label for="y">我同意相关的协议</label>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2"><input type="submit" value="注册"></td>
        </tr>
    </form>
</table>
</body>
</html>